package space.panker916.dao.elasticsearch;

import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
import org.springframework.stereotype.Repository;
import space.panker916.pojo.DiscussPost;

//这里也是数据访问层，但访问的不是数据库，而是对 elasticsearch 进行访问
@Repository
public interface DiscussPostRepository extends ElasticsearchRepository<DiscussPost, Integer> {
}